<div class="contentAjax">
<table class="table">
	<tr>
    <?php
	print_r($_POST);
	foreach($engineReturn['text'] as $er)
	{
		echo "<th><b>".$er."</b></th>";
	}
    ?>
    <th><b>Select</b></th>
    </tr>
    <?php
	foreach($engineReturn['record'] as $er)
	{
		echo "<tr>";
		foreach($er as $data)
			echo "<td>".$data."</td>";
		echo "<td><input type='button' value='+' class='button add-".$engineReturn['module']."'></td>";
		echo "</tr>";
	}
    ?>
</table>
<script type="text/javascript">
	$(".add-<?php echo $engineReturn['module'];?>").plusMediumTable({
					module_name			: '<?php echo $engineReturn['module'];?>'
					, search_div_id 	: 'search-<?php echo $engineReturn['module'];?>'
					, view_div_id		: 'view-<?php echo $engineReturn['module'];?>'
		});
</script>
</div>